import { createPluginGenerator } from '../base/util';
import { default as CommonHelp } from './CommonHelp';
import { default as UserHelp } from './UserHelp';
import { default as OrgHelp } from './OrgHelp';
import { default as DeptHelp } from './DeptHelp';
import { default as ProjectHelp } from './ProjectHelp';
import { default as CustomerBusinessHelp } from './CustomerBusinessHelp';
import { default as StaticDicHelp } from './StaticDicHelp';

import { default as Input } from './Input';
import { default as TextArea } from './TextArea';
import { default as InputNumber } from './InputNumber';
import { default as InputPassword } from './InputPassword';
import { default as Select } from './Select';
import { default as CheckboxGroup } from './CheckboxGroup';
import { default as Switch } from './Switch';
import { default as RadioGroup } from './RadioGroup';
import { default as DatePicker } from './DatePicker';
import { default as DateRangePicker } from './DateRangePicker';

import { default as EnterprisePositionsHelp } from './EnterprisePositionsHelp';
import { default as ProjectUserHelp } from './ProjectUserHelp';
import { default as ProjectPositionsHelp } from './ProjectPositionsHelp';
import { default as DateTimePicker } from './DateTimePicker';
import { default as TimePicker } from './TimePicker';
import { default as ProjectEngineeringHelp } from './ProjectEngineeringHelp';
import { default as CalcSubProjectHelp } from './CalcSubProjectHelp';
import { default as StandardPositionsHelp } from './StandardPositionsHelp';
import { default as CustomerHelp } from './CustomerHelp';
import { default as BusinessHelp } from './BusinessHelp';
import { default as Attachment } from './Attachment';
import { default as Text } from './Text';
import { default as Button } from './Button';
import { default as Image } from './Image';
import { default as AreaLinkage } from './AreaLinkage';
import { default as DownloadExcel } from './DownloadExcel';
import { default as InputBMap } from './InputBMap';
import { default as HtmlEditor } from './HtmlEditor';
import { default as TagTreeSelect } from './TagTreeSelect';

export const formComps = {
  CommonHelp,
  UserHelp,
  OrgHelp,
  DeptHelp,
  ProjectHelp,
  StaticDicHelp,
  CustomerBusinessHelp,
  EnterprisePositionsHelp,
  ProjectUserHelp,
  ProjectPositionsHelp,
  Input,
  TextArea,
  InputNumber,
  InputPassword,
  Select,
  CheckboxGroup,
  Switch,
  RadioGroup,
  DatePicker,
  DateRangePicker,
  DateTimePicker,
  TimePicker,
  ProjectEngineeringHelp,
  CustomerHelp,
  CalcSubProjectHelp,
  StandardPositionsHelp,
  BusinessHelp,
  Attachment,
  Text,
  Button,
  Image,
  AreaLinkage,
  DownloadExcel,
  InputBMap,
  HtmlEditor,
  TagTreeSelect
}

export const formPluginGenerator = createPluginGenerator(formComps);
